package com.jt9003.pojo;

import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.metadata.BaseRowModel;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.math.BigDecimal;
import java.util.Date;

@Data
public class WarehouseExcel extends BaseRowModel {


    @ExcelProperty(value = "序号", index = 0)
    private Integer wareId;
    //单据号
    @ExcelProperty(value = "单据号", index = 1)
    private String documentNo;
    //录入人
    @ExcelProperty(value = "录入人", index = 2)
    private String wareEntry;
    //录入时间
    @ExcelProperty(value = "录入时间", index = 3)
    @JsonFormat(pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date wareTime;
    @ExcelProperty(value = "药品名称", index = 4)
    private  String drName;
    //药品数量
    @ExcelProperty(value = "药品数量", index = 5)
    private String wareAmount;
    //备注
    @ExcelProperty(value = "备注", index = 6)
    private String wareRemarks;



}